﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>工作信息</title>
    <link href="/css/common.css" rel="stylesheet" type="text/css" />
    <link href="/css/account.css" rel="stylesheet" type="text/css" />
    <script src="/js/jquery.js" language="javascript" type="text/javascript"></script>
    <script src="/js/common.js" language="javascript" type="text/javascript"></script>

    <link href="/JS/MsgBox/moonbox.css" rel="stylesheet" type="text/css" />

    <script src="/JS/MsgBox/moonbox.js" type="text/javascript"></script>
    <script src="/JS/jyAjax.js" type="text/javascript"></script>
    <!--[if lt IE 7]> 
    <script src="/js/png.js" language="javascript" type="text/javascript"></script>
    <![endif]-->
    <script type="text/javascript" language="javascript">
    	$(function(){
			$(".from").click(function(){
			    if(this.checked){
				    $(this).siblings(".spanfrom").hide();
				}
				else{
				    $(this).siblings(".spanfrom").show();
				}
			}),
			$(".delcom").click(function(){
				$(this).parent().parent().fadeOut();
				$(this).parent().parent().find("input[type=hidden]").val("hide");
				$("#addcom").fadeIn();
			}),	
			$("#addcom a").click(function(){
				var char = true;
				for(i=0;i<5;i++){
					if($("#ulcom"+i).css("display")=="none"){
						$("#ulcom"+i).fadeIn();
						$("#hidCom_"+i).val("show");
						$("#company_"+i).val("");
						$("#comDescription_"+i).val("");
						$("#comFromYear_"+i).attr("value",'0');
						$("#comFromMonth_"+i).attr("value",'0');
						$("#comToYear_"+i).attr("value",'0');
						$("#comToMonth_"+i).attr("value",'0');
						$("#chkAtNow_"+i).attr("checked",true).siblings("span").hide();
						if(i<4) char = false;
						break;
					}
				}
				if(char)$("#addcom").fadeOut();
			})
		})
    </script>
</head>
<body>
    $Header$
    <div id="body">
		<div class="left">
        	$LeftUserCmd$ $LeftUserFriendAdd$
        </div>
        <div class="right">
            <ul class="account">
                <h1>
                    <a href="javascript:;" onclick="history.go(-1)">返回上一页</a><p>
                        <b>工作信息</b></p>
                </h1>
                <li>
                    <div class="accdiv">
                        <h2>
                            <a href="/PersonalInfo/BasicInfo.aspx"><span>基本信息 </span></a>
                            <!--<a href="#"><span>联系信息</span></a>-->
                            <a href="/PersonalInfo/PrivacyLike.aspx"><span>个人爱好</span></a> 
                            <!--<a href="#"><span>教育信息</span></a>-->
                            <a href="/PersonalInfo/WorkInfo.aspx" class="sel"><span>工作信息</span></a> 
                            <a href="/PersonalInfo/UpLoadPortrait.aspx"><span>上传头像</span></a>
                            <!--<a href="#"><span>装扮空间 </span></a>-->
                            <a href="/PersonalInfo/PrivacySet.aspx"><span>隐私设置</span></a> 
                            <a href="/PersonalInfo/AccountManage.aspx" class="last"><span>账户管理</span></a>
                        </h2>
                        <form action="/PersonalInfo/WorkInfo.aspx" method="post">
                        <ul class="userinfo">
                            <li>填写工作信息，在找到过去和现在的同事，可以通过<A href="/PersonalInfo/PrivacySet.aspx">隐私设置</A>控制谁可以看见以下内容。 </li>
							<li class="red">最多可以添加5个工作单位</li>
                            <!--<li class="msg_ok" style="padding:20px 15px 20px 55px;">
                            	修改成功
                            </li>-->
                            <li>
                            	<div>
                                    <ul id="ulcom0" class="$Classhid_0$">
                                        <li>
                                            <b>公司：</b><input id="company_0" name="company_0" class="com" value="$ComName_0$"/>
                                            <input type="hidden" id="hidCom_0" name="hidCom_0" value="$hidValue_0$" />
                                        </li>
                                        <li>
                                            <b>描述：</b>
                                            <textarea id="comDescription_0" name="comDescription_0">$ComDescription_0$</textarea>
                                        </li>
                                        <li>
                                            <b class=f-b>工作时间：</b>
                                            <select id="comFromYear_0" name="comFromYear_0"> 
                                                <option selected value="0">年份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    var myDate=new Date();
                                                    for(i=0;i<60;i++){
                                                        if(myDate.getYear()-i==$FromYear_0$)
                                                        {document.write("<option value="+(myDate.getYear()-i)+" selected='selected' >"+(myDate.getYear()-i)+"</option> ");}
                                                        else{ document.write("<option value="+(myDate.getYear()-i)+" >"+(myDate.getYear()-i)+"</option> ");}
                                                    }
                                                </script>
                                            </select> 
                                            <select id="comFromMonth_0" name="comFromMonth_0"> 
                                                <option selected value="0">月份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    for(i=1;i<13;i++){
                                                        if((i)==$FromMonth_0$)
                                                        {document.write("<option value="+(i)+" selected='selected'>"+(i)+"</option> ");}
                                                        else { document.write("<option value=" + (i) + ">" + (i) + "</option> "); }
                                                    }
                                                </script>
                                            </select>
                                            <span class="spanfrom $hid_0$">
                                            至 
                                            <select id="comToYear_0" name="comToYear_0"> 
                                                <option selected value=0>年份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    var myDate=new Date();
                                                    for (i = 0; i < 60; i++) {
                                                        if (myDate.getYear() - i == $ToYear_0$)
                                                        { document.write("<option value=" + (myDate.getYear() - i) + " selected='selected' >" + (myDate.getYear() - i) + "</option>"); }
                                                        else
                                                        { document.write("<option value=" + (myDate.getYear() - i) + " >" + (myDate.getYear() - i) + "</option>"); }                                                            
                                                    }
                                                </script>
                                            </select> 
                                            <select id="comToMonth_0" name="comToMonth_0"> 
                                                <option selected value=0>月份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    for (i = 1; i <13; i++) {
                                                        if (i == $ToMonth_0$)
                                                        { document.writeln("<option value=" + (i) + " selected='selected'>" + (i) + "</option>"); }
                                                        else
                                                        { document.writeln("<option value=" + (i) + ">" + (i) + "</option>"); }                                                        
                                                    }
                                                </script>
                                            </select>
                                            </span>
                                            <input id="chkAtNow_0" name="chkAtNow_0" $checked_0$ type="checkbox" class="from" />
                                            <label for="chkAtNow_0">我现在在这家公司工作</label>
                                        </li>
                                        <li><b>&nbsp;</b><a href="javascript:myAjax('/PersonalInfo/DelCompany.ashx','CareerID='+$hidValue_0$);" class="delcom">删除这个公司</a></li>
                                    </ul>
                                    <ul id="ulcom1" class="$Classhid_1$">
                                        <li>
                                            <b>公司：</b><input id="company_1" name="company_1" class="com"  value="$ComName_1$"/>
                                            <input type="hidden" id="hidCom_1" name="hidCom_1" value="$hidValue_1$" />
                                        </li>
                                        <li>
                                            <b>描述：</b>
                                            <textarea id="comDescription_1" name="comDescription_1">$ComDescription_1$</textarea>
                                        </li>
                                        <li>
                                            <b class=f-b>工作时间：</b>
                                            <select id="comFromYear_1" name="comFromYear_1"> 
                                                <option selected value=0>年份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    var myDate = new Date();
                                                    for (i = 0; i < 60; i++) {
                                                        if (myDate.getYear() - i == $FromYear_1$)
                                                        { document.write("<option value=" + (myDate.getYear() - i) + " selected='selected' >" + (myDate.getYear() - i) + "</option> "); }
                                                        else { document.write("<option value=" + (myDate.getYear() - i) + " >" + (myDate.getYear() - i) + "</option> "); }
                                                    }
                                                </script>
                                            </select> 
                                            <select id="comFromMonth_1" name="comFromMonth_1"> 
                                                <option selected value=0>月份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    for (i = 1; i < 13; i++) {
                                                        if (i == $FromMonth_1$)
                                                        { document.write("<option value=" + (i) + " selected='selected'>" + (i) + "</option> "); }
                                                        else { document.write("<option value=" + (i) + ">" + (i) + "</option> "); }
                                                    }
                                                </script>
                                            </select>
                                            <span class="spanfrom $hid_1$">
                                            至 
                                            <select id="comToYear_1" name="comToYear_1"> 
                                                <option selected value=0>年份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    var myDate = new Date();
                                                    for (i = 0; i < 60; i++) {
                                                        if (myDate.getYear() - i == $ToYear_1$)
                                                        { document.write("<option value=" + (myDate.getYear() - i) + " selected='selected' >" + (myDate.getYear() - i) + "</option>"); }
                                                        else
                                                        { document.write("<option value=" + (myDate.getYear() - i) + " >" + (myDate.getYear() - i) + "</option>"); }

                                                    }
                                                </script>
                                            </select> 
                                            <select id="comToMonth_1" name="comToMonth_1"> 
                                                <option selected value=0>月份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    for (i = 1; i < 13; i++) {
                                                        if (i == $ToMonth_1$)
                                                        { document.writeln("<option value=" + (i) + " selected='selected'>" + (i) + "</option>"); }
                                                        else
                                                        { document.writeln("<option value=" + (i) + ">" + (i) + "</option>"); }

                                                    }
                                                </script>
                                            </select>
                                            </span>
                                            <input id="chkAtNow_1" name="chkAtNow_1" $checked_1$ type="checkbox" class="from" />
                                            <label for="chkAtNow_1">我现在在这家公司工作</label>
                                        </li>
                                        <li><b>&nbsp;</b><a href="javascript:myAjax('/PersonalInfo/DelCompany.ashx','CareerID='+$hidValue_1$);" class="delcom">删除这个公司</a></li>
                                    </ul>
                                    <ul id="ulcom2" class="$Classhid_2$">
                                        <li>
                                            <b>公司：</b><input id="company_2" name="company_2" class="com"  value="$ComName_2$"/>
                                            <input type="hidden" id="hidCom_2" name="hidCom_2" value="$hidValue_2$" />
                                        </li>
                                        <li>
                                            <b>描述：</b>
                                            <textarea id="comDescription_2" name="comDescription_2">$ComDescription_2$</textarea>
                                        </li>
                                        <li>
                                            <b class=f-b>工作时间：</b>
                                            <select id="comFromYear_2" name="comFromYear_2"> 
                                                <option selected value=0>年份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    var myDate = new Date();
                                                    for (i = 0; i < 60; i++) {
                                                        if (myDate.getYear() - i == $FromYear_2$)
                                                        { document.write("<option value=" + (myDate.getYear() - i) + " selected='selected' >" + (myDate.getYear() - i) + "</option> "); }
                                                        else { document.write("<option value=" + (myDate.getYear() - i) + " >" + (myDate.getYear() - i) + "</option> "); }
                                                    }
                                                </script>
                                            </select> 
                                            <select id="comFromMonth_2" name="comFromMonth_2"> 
                                                <option selected value=0>月份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    for(i=1;i<13;i++){
                                                        if((i)==$FromMonth_2$)
                                                        {document.write("<option value="+(i)+" selected='selected'>"+(i)+"</option> ");}
                                                        else { document.write("<option value=" + (i) + ">" + (i) + "</option> "); }
                                                    }
                                                </script>
                                            </select>
                                            <span class="spanfrom $hid_2$">
                                            至 
                                            <select id="comToYear_2" name="comToYear_2"> 
                                                <option selected value=0>年份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    var myDate = new Date();
                                                    for (i = 0; i < 60; i++) {
                                                        if (myDate.getYear() - i == $ToYear_2$)
                                                        { document.write("<option value=" + (myDate.getYear() - i) + " selected='selected' >" + (myDate.getYear() - i) + "</option> "); }
                                                        else { document.write("<option value=" + (myDate.getYear() - i) + " >" + (myDate.getYear() - i) + "</option> "); }
                                                    }
                                                </script>
                                            </select> 
                                            <select id="comToMonth_2" name="comToMonth_2"> 
                                                <option selected value=0>月份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    for(i=1;i<13;i++){
                                                        if((i)==$ToMonth_2$)
                                                        {document.write("<option value="+(i)+" selected='selected'>"+(i)+"</option> ");}
                                                        else { document.write("<option value=" + (i) + ">" + (i) + "</option> "); }
                                                    }
                                                </script>
                                            </select>
                                            </span>
                                            <input id="chkAtNow_2" name="chkAtNow_2" $checked_2$ type="checkbox" class="from" />
                                            <label for="chkAtNow_2">我现在在这家公司工作</label>
                                        </li>
                                        <li><b>&nbsp;</b><a href="javascript:myAjax('/PersonalInfo/DelCompany.ashx','CareerID='+$hidValue_2$);" class="delcom">删除这个公司</a></li>
                                    </ul>
                                    <ul id="ulcom3" class="$Classhid_3$">
                                        <li>
                                            <b>公司：</b><input id="company_3" name="company_3" class="com"  value="$ComName_3$"/>
                                            <input type="hidden" id="hidCom_3" name="hidCom_3" value="$hidValue_3$" />
                                        </li>
                                        <li>
                                            <b>描述：</b>
                                            <textarea id="comDescription_3" name="comDescription_3">$ComDescription_3$</textarea>
                                        </li>
                                        <li>
                                            <b class=f-b>工作时间：</b>
                                            <select id="comFromYear_3" name="comFromYear_3"> 
                                                <option selected value=0>年份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    var myDate = new Date();
                                                    for (i = 0; i < 60; i++) {
                                                        if (myDate.getYear() - i == $FromYear_3$)
                                                        { document.write("<option value=" + (myDate.getYear() - i) + " selected='selected' >" + (myDate.getYear() - i) + "</option> "); }
                                                        else { document.write("<option value=" + (myDate.getYear() - i) + " >" + (myDate.getYear() - i) + "</option> "); }
                                                    }
                                                </script>
                                            </select> 
                                            <select id="comFromMonth_3" name="comFromMonth_3"> 
                                                <option selected value=0>月份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    for(i=1;i<13;i++){
                                                        if((i)==$FromMonth_3$)
                                                        {document.write("<option value="+(i)+" selected='selected'>"+(i)+"</option> ");}
                                                        else { document.write("<option value=" + (i) + ">" + (i) + "</option> "); }
                                                    }
                                                </script>
                                            </select>
                                            <span class="spanfrom $hid_3$">
                                            至 
                                            <select id="comToYear_3" name="comToYear_3"> 
                                                <option selected value=0>年份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    var myDate = new Date();
                                                    for (i = 0; i < 60; i++) {
                                                        if (myDate.getYear() - i == $ToYear_3$)
                                                        { document.write("<option value=" + (myDate.getYear() - i) + " selected='selected' >" + (myDate.getYear() - i) + "</option> "); }
                                                        else { document.write("<option value=" + (myDate.getYear() - i) + " >" + (myDate.getYear() - i) + "</option> "); }
                                                    }
                                                </script>
                                            </select> 
                                            <select id="comToMonth_3" name="comToMonth_3"> 
                                                <option selected value=0>月份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    for (i = 1; i < 13; i++) {
                                                        if (i == $ToMonth_3$)
                                                        { document.write("<option value=" + (i) + " selected='selected'>" + (i) + "</option> "); }
                                                        else { document.write("<option value=" + (i) + ">" + (i) + "</option> "); }
                                                    }
                                                </script>
                                            </select>
                                            </span>
                                            <input id="chkAtNow_3" name="chkAtNow_3" $checked_3$ type="checkbox" class="from" />
                                            <label for="chkAtNow_3">我现在在这家公司工作</label>
                                        </li>
                                        <li><b>&nbsp;</b><a href="javascript:myAjax('/PersonalInfo/DelCompany.ashx','CareerID='+$hidValue_3$);" class="delcom">删除这个公司</a></li>
                                    </ul>
                                    <ul id="ulcom4" class="$Classhid_4$">
                                        <li>
                                            <b>公司：</b><input id="company_4" name="company_4" class="com"  value="$ComName_4$"/>
                                            <input type="hidden" id="hidCom_4" name="hidCom_4" value="$hidValue_4$" />
                                        </li>
                                        <li>
                                            <b>描述：</b>
                                            <textarea id="comDescription_4" name="comDescription_4">$ComDescription_4$</textarea>
                                        </li>
                                        <li>
                                            <b class=f-b>工作时间：</b>
                                            <select id="comFromYear_4" name="comFromYear_4"> 
                                                <option selected value=0>年份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    var myDate = new Date();
                                                    for (i = 0; i < 60; i++) {
                                                        if (myDate.getYear() - i == $FromYear_4$)
                                                        { document.write("<option value=" + (myDate.getYear() - i) + " selected='selected' >" + (myDate.getYear() - i) + "</option> "); }
                                                        else { document.write("<option value=" + (myDate.getYear() - i) + " >" + (myDate.getYear() - i) + "</option> "); }
                                                    }
                                                </script>
                                            </select> 
                                            <select id="comFromMonth_4" name="comFromMonth_4"> 
                                                <option selected value=0>月份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    for(i=1;i<13;i++){
                                                        if((i)==$FromMonth_4$)
                                                        {document.write("<option value="+(i)+" selected='selected'>"+(i)+"</option> ");}
                                                        else { document.write("<option value=" + (i) + ">" + (i) + "</option> "); }
                                                    }
                                                </script>
                                            </select>
                                            <span class="spanfrom $hid_4$">
                                            至 
                                            <select id="comToYear_4" name="comToYear_4"> 
                                                <option selected value=0>年份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    var myDate = new Date();
                                                    for (i = 0; i < 60; i++) {
                                                        if (myDate.getYear() - i == $ToYear_4$)
                                                        { document.write("<option value=" + (myDate.getYear() - i) + " selected='selected' >" + (myDate.getYear() - i) + "</option> "); }
                                                        else { document.write("<option value=" + (myDate.getYear() - i) + " >" + (myDate.getYear() - i) + "</option> "); }
                                                    }
                                                </script>
                                            </select> 
                                            <select id="comToMonth_4" name="comToMonth_4"> 
                                                <option selected value=0>月份</option> 
                                                <script language="javascript" type="text/javascript">
                                                    for(i=1;i<13;i++){
                                                        if((i)==$ToMonth_4$)
                                                        {document.write("<option value="+(i)+" selected='selected'>"+(i)+"</option> ");}
                                                        else { document.write("<option value=" + (i) + ">" + (i) + "</option> "); }
                                                    }
                                                </script>
                                            </select>
                                            </span>
                                            <input id="chkAtNow_4" name="chkAtNow_4" $checked_4$ type="checkbox" class="from" />
                                            <label for="chkAtNow_4">我现在在这家公司工作</label>
                                        </li>
                                        <li><b>&nbsp;</b><a href="javascript:;myAjax('/PersonalInfo/DelCompany.ashx','CareerID='+$hidValue_4$)" class="delcom">删除这个公司</a></li>
                                    </ul>
                                </div>
                            </li>
                            <li id="addcom">
                                <b>&nbsp;</b>
                                <a href="javascript:;" class="a_btn">添加公司</a>
                            </li>
                            <li>
                                <b>&nbsp;</b>
                                <input class="input_btn" value="保存基本资料" type="submit"><input type="hidden" name="hidSave" value="Save" />
                            </li>
                        </ul>
                        </form>
                    </div>
                </li>
                <h6></h6>
            </ul>
        </div>
    </div>
    <div class="Clear">
    </div>
    $Footer$
</body>
</html>
